package com.waya.string;

public class StringDemo {
    public static void main(String[] args) {
        String s = "love";
        int i = s.length();
        System.out.println(i);
        String s1 = s.concat("waya");
        System.out.println(s1);
        char c = s.charAt(1);
        System.out.println(c);
        int i1 = s.indexOf("0");
        System.out.println(i1);
    }
}
